﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microhard.WarehouseInsp.Buz.Models;
using Microhard.Core.DBUtility;
using Microhard.WarehouseInsp.Buz.DataAccess;

namespace Microhard.WarehouseInsp.Buz.Interfaces
{
    public interface ISupProject : IWorkflow, IRepository<SupProjectModel>
    {
        List<SupProjectModel> GetAllSupProject();
        bool IsApproving(Guid projectID);
        bool IsDuplicateName(SupProjectModel model);
        bool IsDuplicateCode(SupProjectModel model);
        List<PledgeChangeRecordModel> GetPledgeChangeRecords(Guid proid);
        List<SupProjectModel> GetSupProjectsByWarehouse(Guid WarehouseId);
        List<SupProjectModel> GetSupProjectByProtal(Guid protalUserID);
    }
}
